HackerRank Extra Long Factorials
提出
code: python
import math
import os
import random
import re
import sys
#
# Complete the 'extraLongFactorials' function below.
#
# The function accepts INTEGER n as parameter.
#
def extraLongFactorials(n):
ans = 1
for i in range(1, n+1):
ans *= i
print(ans)
if __name__ == '__main__':
n = int(input().strip())
extraLongFactorials(n)